﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DllCallMeshAnalysis45.Helpers
{
    public static class LogHelper
    {
        public static StringBuilder Sb = new StringBuilder();

        public static void WriteLine(string text)
        {
            Console.WriteLine(text);

            Sb.AppendLine(text);
        }

        internal static void Save(string file)
        {
            File.WriteAllText(file, Sb.ToString());
            Sb.Clear();
        }
    }
}
